package edu.zut.bailan.timecard.service.impl;

import edu.zut.bailan.base.service.impl.GenericManagerImpl;
import edu.zut.bailan.timecard.dao.TimeCardDao;
import edu.zut.bailan.timecard.domain.TimeCard;
import edu.zut.bailan.timecard.service.TimeCardManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service(value = "TimeCardManager")
public class TimeCardManagerImpl extends GenericManagerImpl<TimeCard, Long> implements TimeCardManager {
    TimeCardDao TimeCardDao;

    @Resource
    public void setTimeCardDao(TimeCardDao TimeCardDao) {
        this.TimeCardDao = TimeCardDao;
        this.dao = this.TimeCardDao;
    }


}
